修复编译无法运行的问题,添加自动识别windows的env的功能#16
Closed
hydevcode wants to merge 1 commit intoRT-Thread:mainfrom
Closed
Conversation
| if (os.platform() === 'win32') { | ||
| const regKey = new Registry({ | ||
| hive: Registry.HKCR, | ||
| key: '\\*\\shell\\ConEmu Here' |
Member
There was a problem hiding this comment.
😢 怎么还会使用ConEmu?Windows下用powershell可以说是完美
Author
There was a problem hiding this comment.
确实,那可以做一个选择,让用户自己选,主要也是习惯了RT-Thread配合ConEmu开发,比较方便
Member
There was a problem hiding this comment.
这个PR可以拆成两份提交,一份是修复打包问题,另一份是自动识别ENV的吧
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
修复问题:


当打包成拓展运行的时候会报以下错误
添加功能:

根据注册表自动识别env路径,并在用户使用cmd的时候将环境应用到终端上:
如下图所示